﻿Imports System.Collections.ObjectModel

Public Class UserSettings
    Inherits SerializableClass


    Private _stations As New ObservableCollection(Of Station)
    Public ReadOnly Property Stations() As ObservableCollection(Of Station)
        Get
            Return _stations
        End Get
    End Property

    Private _keywords As New ObservableCollection(Of Keyword)
    Public ReadOnly Property Keywords() As ObservableCollection(Of Keyword)
        Get
            Return _keywords
        End Get
    End Property

    Private _general As New GeneralSettings
    Public Property General() As GeneralSettings
        Get
            Return _general
        End Get
        Set(ByVal value As GeneralSettings)
            _general = value
            OnPropertyChanged("General")
        End Set
    End Property

    Private _mail As New MailSettings
    Public Property Mail() As MailSettings
        Get
            Return _mail
        End Get
        Set(ByVal value As MailSettings)
            _mail = value
            OnPropertyChanged("Mail")
        End Set
    End Property

    Private _browser As New BrowserSettings
    Public Property Browser() As BrowserSettings
        Get
            Return _browser
        End Get
        Set(ByVal value As BrowserSettings)
            _browser = value
            OnPropertyChanged("Browser")
        End Set
    End Property

    Private _sound As New SoundSettings
    Public Property Sound() As SoundSettings
        Get
            Return _sound
        End Get
        Set(ByVal value As SoundSettings)
            _sound = value
            OnPropertyChanged("Sound")
        End Set
    End Property

    Private _defaultAlert As New DefaultAlertSettings
    Public Property DefaultAlert() As DefaultAlertSettings
        Get
            Return _defaultAlert
        End Get
        Set(ByVal value As DefaultAlertSettings)
            _defaultAlert = value
            OnPropertyChanged("DefaultAlert")
        End Set
    End Property





End Class
